﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoundNumbe
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入一个正数：");
            double number1 = double.Parse(Console.ReadLine());

            int a = (int)number1;
            double number2 = number1 - a;
            if (number2 >0.5)
            {
                Console.WriteLine(a + 1);
            }
            else
            {
                Console.WriteLine(a);
            }

            Console.ReadKey();
        }
    }
}
